<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!--忽略页面中的邮箱格式为邮箱-->
    <meta name="format-detection" content="email=no">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="format-detection" content="telephone=no,address=no,email=no">
    <title>我的活动 -- 全部活动（需要购买创建）</title>
    <link rel="stylesheet" href="../css/index_wx.css">
    <script src="../js/jquery-2.1.1.min.js"></script>
</head>
<body style="font-family: myFont;background-color: #F3F3F3">
<!--创建活动蒙版提示  只是第一次提示-->
<div class="prompt_div">
    <div class="prompt_share">
        <!--<img src="../images/home/fair_1.png" alt="" class="share_img">-->
        <div class="creat_li">
            <div class="x_div">
                <img src="../images/home/fair_1.png" alt="" class="x_img">
                <div class="x_con">
                    <p class="con_p">亲子体验活动亲子体验活动</p>
                    <div class="con_txt clearfix">
                        <span class="moeny_num fl">¥99</span>
                        <span class="free_btn_la fr">免费</span>
                    </div>
                </div>
            </div>
        </div>
        <img src="../images/icon/share_img.png" alt="" class="share_img">
        <p class="share_text">选择目标模板 <br>
            点击即可开始创建活动哦
        </p>
        <a href="javascript:void (0);" class="kone_btn">知道了</a>
    </div>
</div>
<div class="warp_wx">
    <div class="creatlist_wx">
        <ul class="creatlist_ul clearfix">
            <!--
                buyact_icon   已购标签
                free_icon   免费标签
                new_icon   新标签
                没有任何标签的话
                添加类名  txt_in
            -->
            <div class="creat_li">
                <div class="x_div">
                    <img src="../images/home/fair_1.png" alt="" class="x_img">
                    <div class="x_con">
                        <p class="con_p">亲子体验活动亲子体验活动</p>
                        <div class="con_txt clearfix">
                            <span class="moeny_num fl">¥99</span>
                            <span class="buymo_btn_la fr">已购</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="creat_li">
                <div class="x_div">
                    <img src="../images/home/fair_1.png" alt="" class="x_img">
                    <div class="x_con">
                        <p class="con_p">亲子体验活动亲子体验活动</p>
                        <div class="con_txt clearfix">
                            <span class="moeny_num fl">¥99</span>
                            <span class="buymo_btn_la fr">已购</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="creat_li">
                <div class="x_div">
                    <img src="../images/home/fair_1.png" alt="" class="x_img">
                    <div class="x_con">
                        <p class="con_p">亲子体验活动亲子体验活动</p>
                        <div class="con_txt clearfix">
                            <span class="moeny_num fl">¥99</span>
                            <span class="buymo_btn_la fr">已购</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="creat_li">
                <div class="x_div">
                    <img src="../images/home/fair_1.png" alt="" class="x_img">
                    <div class="x_con">
                        <p class="con_p">亲子体验活动亲子体验活动</p>
                        <div class="con_txt clearfix">
                            <span class="moeny_num fl">¥99</span>
                            <span class="buymo_btn_la fr">已购</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="creat_li">
                <div class="x_div">
                    <img src="../images/home/fair_1.png" alt="" class="x_img">
                    <div class="x_con">
                        <p class="con_p">亲子体验活动亲子体验活动</p>
                        <div class="con_txt clearfix">
                            <span class="moeny_num fl">¥99</span>
                            <span class="buymo_btn_la fr">已购</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="creat_li">
                <div class="x_div">
                    <img src="../images/home/fair_1.png" alt="" class="x_img">
                    <div class="x_con">
                        <p class="con_p">亲子体验活动亲子体验活动</p>
                        <div class="con_txt clearfix">
                            <span class="moeny_num fl">¥99</span>
                            <span class="buymo_btn_la fr">已购</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="creat_li">
                <div class="x_div">
                    <img src="../images/home/fair_1.png" alt="" class="x_img">
                    <div class="x_con">
                        <p class="con_p">亲子体验活动亲子体验活动</p>
                        <div class="con_txt clearfix">
                            <span class="moeny_num fl">¥99</span>
                            <span class="buymo_btn_la fr">已购</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="creat_li">
                <div class="x_div">
                    <img src="../images/home/fair_1.png" alt="" class="x_img">
                    <div class="x_con">
                        <p class="con_p">亲子体验活动亲子体验活动</p>
                        <div class="con_txt clearfix">
                            <span class="moeny_num fl">¥99</span>
                            <span class="buymo_btn_la fr">已购</span>
                        </div>
                    </div>
                </div>
            </div>
        </ul>
        <p class="baseline">——— 我是底线 ———</p>
    </div>
    <footer class="activi_btn">
        <a href="#" class="creat_btn">创建活动宣品</a>
    </footer>
</div>
</body>
<script>
    $(function() {
        $(".kone_btn").click(function () {
            $(".prompt_div").hide();
        })
        var newStyle = $("<style> @font-face {font-family: 'myFont';  src: url('../fonts/HYQiHei-50S.ttf');} </style>");
        $('body').append(newStyle);
        seleShare(".creatlist_wx .creat_li")
    });
    //单选选择标签
    function seleShare(item) {
        var item = $(item);
        console.log(item)
        item.on("click", function () {
            item.find("div").removeClass("x_show");
            $(this).siblings("li").find("div").addClass("x_show");
        })
        item.on("click", function () {
            item.find("div").addClass("x_show");
            $(this).siblings("li").find("div").removeClass("x_show");
        })
    }
</script>
</html>